import 'package:fish_redux/fish_redux.dart';
import '../../../app_files.dart';

class EngineerIndoorReasonViewState
    implements Cloneable<EngineerIndoorReasonViewState> {
  FixListItemModel model;
  String content = '';
  bool isSolve;
  bool isOther = false;
  TextEditingController textEditingController = TextEditingController();
  List orderPhoto = [];

  @override
  EngineerIndoorReasonViewState clone() {
    return EngineerIndoorReasonViewState()
      ..model = model
      ..orderPhoto = orderPhoto
      ..content = content
      ..isOther = isOther
      ..textEditingController = textEditingController
      ..isSolve = isSolve;
  }
}

EngineerIndoorReasonViewState initState(Map<String, dynamic> args) {
  return EngineerIndoorReasonViewState()..model = args['item'];
}
